﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewProcessGuarder.core
{
    public interface IAppGuarder
    {
        string Name { get; set; }
        //程序路径
        string AppPath { get; set; }
        //间隔
        int Interval { get; set; }

        DateTime? BeginTime { get; set; }

        DateTime? EndTime { get; set; }

        string KillOtherPath { get; set; }

        /// <summary>
        /// 操作类别
        /// </summary>
        OperationType OperType { get; set; }

        bool isRunning { get; set; }
        
        //计时器开始
        void Start();
        //计时器停止
        void Stop();
    }
}
